<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<a href="springmvc/testCookieValue">Test CookieValue</a>
	<br><br>

	<a href="springmvc/testRequestHeader">Test RequestHeader</a>
	<br><br>
	
	<a href="springmvc/testRequestParam?username=atguigu&age=11">Test RequestParam</a>
	<br><br>
	
	<form action="springmvc/testRest/1" method="post">
		<input type="hidden" name="_method" value="PUT"/>
		<input type="submit" value="TestRest PUT"/>
	</form>
	<br><br>
	
	<form action="springmvc/testRest/1" method="post">
		<input type="hidden" name="_method" value="DELETE"/>
		<input type="submit" value="TestRest DELETE"/>
	</form>
	<br><br>
	
	<form action="springmvc/testRest" method="post">
		<input type="submit" value="TestRest POST"/>
	</form>
	<br><br>
	
	<a href="springmvc/testRest/1">Test Rest Get</a>
	<br><br>

	<a href="springmvc/testPathVariable/1">Test PathVariable</a>
	<br><br>

	<a href="springmvc/testAntPath/mnxyz/abc">Test AntPath</a>
	<br><br>

	<a href="springmvc/testParamsAndHeaders?username=atguigu&age=10">Test ParamsAndHeaders</a><br/>
	
	hiddenHttpMethodFilter<br/>
	<form action="/springWebMVC/hiddenHttpMethodFilter" method="post">
		<input type="hidden" name="_method" value="PUT"/>
		name:<input type="text" name="name" /><br><br>
		age: <input type="text" name="age" /><br><br>
		<input type="submit" value="提交"/>
	</form>
	
	<br><br>
	<a href="/springWebMVC/mappingJackson2JsonView">Test mappingJackson2JsonView</a>
	
	<br><br>
	<a href="/springWebMVC/testView">Test testView</a>
	
	<br><br>
	<a href="/springWebMVC/modelAttribute?name=han">Test @ModelAttribute</a>
	
	<br><br>
	<a href="/springWebMVC/redirectAttributes">Test RedirectAttributes</a>
	
	<br><br>
	<a href="/springWebMVC/sessionAttribute">Test @SessionAttribute</a>
	
	<br><br>
	<a href="/springWebMVC/user">Test @ResponseBody</a>
	
	<br><br>sessionAttributes
	<form action="/springWebMVC/sessionAttributes" method="post">
		name:<input type="text" name="name" /><br><br>
		age: <input type="text" name="age" /><br><br>
		<input type="submit" value="提交"/>
	</form>
	
	<br><br>model
	<form action="/springWebMVC/model" method="post">
		name:<input type="text" name="name" /><br><br>
		age: <input type="text" name="age" /><br><br>
		<input type="submit" value="提交"/>
	</form>
	
	<br><br>map
	<form action="/springWebMVC/map" method="post">
		name:<input type="text" name="name" /><br><br>
		age: <input type="text" name="age" /><br><br>
		<input type="submit" value="提交"/>
	</form>
	
	<br><br>httpEntity
	<form action="/springWebMVC/httpEntity" method="post">
		name:<input type="text" name="name" /><br><br>
		age: <input type="text" name="age" /><br><br>
		<input type="submit" value="提交"/>
	</form>
	
	<br><br>requestBody
	<form action="/springWebMVC/requestBody" method="post">
		name:<input type="text" name="name" /><br><br>
		age: <input type="text" name="age" /><br><br>
		<input type="submit" value="提交"/>
	</form>
	
	<br><br>
	<a href="/springWebMVC/requestBody?name=131">Test @RequestBody</a>
	
	<br><br>
	<a href="/springWebMVC/requestParam?name=131">Test @RequestParam</a>
	
	<br><br>
	<a href="/springWebMVC/matrixVariable/42;q=11;r=12/34;q=22,23;s=23">Test MatrixVariable</a>
	
	<br><br>
	<a href="/springWebMVC/pathVariable/han">Test PathVariable</a>
	<br><br>
	<a href="/springWebMVC/locale">Test Locale</a>

	<br><br>
	<a href="/springWebMVC/principal">Test Principal</a>
	
	<br><br>
	<a href="/springWebMVC/hello">Hello World</a>
</body>
</html>